package com.cy.train.business.service;

import com.cy.train.business.domain.DailyTrainCarriage;
import com.cy.train.common.resp.PageResp;
import com.cy.train.business.req.DailyTrainCarriageQueryReq;
import com.cy.train.business.req.DailyTrainCarriageSaveReq;
import com.cy.train.business.resp.DailyTrainCarriageQueryResp;

import java.util.Date;
import java.util.List;

public interface DailyTrainCarriageService {
    void save(DailyTrainCarriageSaveReq req);

    PageResp<DailyTrainCarriageQueryResp> queryList(DailyTrainCarriageQueryReq req);

    void delete(Long id);

    void genDaily(Date date, String trainCode);

    List<DailyTrainCarriage> getCarriageByTrainCode(Date date, String trainCode, String seatType);
}